import './assets/tailwind.css'
import { createApp } from 'vue'
import ucElementPlus from './uc-element-plus'
import pinia from '@/pinia'
import App from './App.vue'
import router from './router'
import { globalConfig } from '@/config'
import './assets/scrollbar.css'
import './assets/main.scss'
if (window.electronAPI) {
  if (!window.localStorage.getItem('host_id')) {
    window.localStorage.setItem('host_id', globalConfig.hostIp)
  }
}
const app = createApp(App)

app.use(pinia).use(router).use(ucElementPlus).mount('#app')
